package tg.webclient.rj.beans.workticket;

import java.rmi.RemoteException;

import psdi.app.workorder.WOSetRemote;
import psdi.mbo.MboSetRemote;
import psdi.server.MXServer;
import psdi.util.MXException;
import psdi.util.MXFormat;
import psdi.webclient.system.beans.AppBean;
import psdi.webclient.system.beans.DataBean;


public class WorkTicketBean extends AppBean {
	public WorkTicketBean() {
	}

	public void initializeApp() throws MXException, RemoteException {
		DataBean resultsBean = app.getResultsBean();
		// WorkTicketSetRemote woset = (WorkTicketSetRemote)
		// (WorkTicketSetRemote) resultsBean
		// .getMboSet();
		// MboSetRemote st = MXServer.getMXServer().getMboSet("ALNDOMAIN",
		// woset.getMbo().getUserInfo());
		// st.setWhere("domainid ='WTSTATUS'and maxvalue !='WAPPR'");
		// String status = st.getString("VALUE");
		resultsBean.setQbe("HISTORYFLAG", "0");
		resultsBean.reset();
		super.initializeApp();
	}

}
